package com.hoshiicloud.market.param.market;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalTime;
/**
* <p>
* 查询营销活动参数
* </p>
* @author campchen
* @since 2019-05-14
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="查询营销活动", description="查询营销活动")
public class MarketingQueryParam extends PageParam {


    @ApiModelProperty(value = "公司ID")
    private Long companyid;
    @ApiModelProperty(value = "平台ID")
    private Long platformid;
    @ApiModelProperty(value = "店铺ID")
    private Long storeid;
    @ApiModelProperty(value = "活动编号")
    private String code;
    @ApiModelProperty(value = "活动名称")
    private String name;
    @ApiModelProperty(value = "活动类别 来源于活动类型表")
    private Integer type;
    @ApiModelProperty(value = "活动开始日")
    private LocalDateTime eventStart;
    @ApiModelProperty(value = "活动结束日")
    private LocalDateTime eventEnd;
    @ApiModelProperty(value = "是否抢购活动")
    private Integer buying;
    @ApiModelProperty(value = "抢购活动开始")
    private LocalTime buyingTimeform;
    @ApiModelProperty(value = "抢购活动结束")
    private LocalTime buyingTimeend;
    @ApiModelProperty(value = "总商品限购数量 -1 不限")
    private Long totalLimits;
    @ApiModelProperty(value = "性别限制   -1 不限  1-男  2-女")
    private Integer sexLimits;
    @ApiModelProperty(value = "年龄限制  18")
    private Long agesFrom;
    @ApiModelProperty(value = "年龄限制")
    private Long agesTo;
    @ApiModelProperty(value = "会员等级限制  -1 不限  1-普通会员 2-VIP会员")
    private Integer memberLevel;
    @ApiModelProperty(value = "地区限制 -1 不限")
    private Long zone;
    @ApiModelProperty(value = "满够金额（满额限制） -1 不限")
    private BigDecimal fullAmount;
    @ApiModelProperty(value = "奖励积分数")
    private Long rewardPoints;
    @ApiModelProperty(value = "奖励购物券张数")
    private Long rewardCoupon;
    @ApiModelProperty(value = "购物券面额")
    private BigDecimal couponPrice;
    @ApiModelProperty(value = "修改人")
    private String updatedby;
    @ApiModelProperty(value = "状态 0-未启用 1-可用")
    private Integer status;
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
}
